package com.hefei.garden.mapper;

import com.hefei.garden.pojo.domain.Customer;
import com.hefei.garden.pojo.domain.Encrypt;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author: devil
 * @Date: 2022/9/18 13
 * @Description:
 */
@Repository
public interface CustomerMapper {

    int addCustomer(@Param("phone") Encrypt phone, @Param("address") String address);

    Customer findCustomer(@Param("phone") Encrypt phone);
}
